package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.CmsSpecial;
import org.darkforest.model.CmsSpecialWithBLOBs;

import java.util.List;

@DBMapper
public interface CmsSpecialMapper {
    int deleteByPrimaryKey(Integer specialId);

    int insert(CmsSpecialWithBLOBs record);

    int insertSelective(CmsSpecialWithBLOBs record);

    CmsSpecialWithBLOBs selectByPrimaryKey(Integer specialId);

    int updateByPrimaryKeySelective(CmsSpecialWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(CmsSpecialWithBLOBs record);

    int updateByPrimaryKey(CmsSpecial record);

    List<CmsSpecialWithBLOBs> selectByCondtion(CmsSpecialWithBLOBs record);

    //取消所有置顶
    void cancelAllTop();
}